using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using TheLogWatcher.Properties;

namespace TheLogWatcher
{
    public partial class AboutBox : Form
    {
        public AboutBox()
        {
            InitializeComponent();
            int versionInt = Settings.Default.UpdaterConfiguration_Version;
            string version = versionInt.ToString().PadLeft(3, '0');
            string printedVersion = "v" + version[0] + "." + version.Substring(1);
            this.lblVersion.Text = printedVersion;
            int buildInt = Settings.Default.UpdaterConfiguration_Build;
            this.lblBuild.Text = "Build " + buildInt;
        }

        private void closeAction(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}